﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000603 RID: 1539
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GameplayCounterCountDownScRsp : IMessage<GameplayCounterCountDownScRsp>, IMessage, IEquatable<GameplayCounterCountDownScRsp>, IDeepCloneable<GameplayCounterCountDownScRsp>, IBufferMessage
	{
		// Token: 0x170013CC RID: 5068
		// (get) Token: 0x06004552 RID: 17746 RVA: 0x000BDD98 File Offset: 0x000BBF98
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GameplayCounterCountDownScRsp> Parser
		{
			get
			{
				return GameplayCounterCountDownScRsp._parser;
			}
		}

		// Token: 0x170013CD RID: 5069
		// (get) Token: 0x06004553 RID: 17747 RVA: 0x000BDD9F File Offset: 0x000BBF9F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GameplayCounterCountDownScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170013CE RID: 5070
		// (get) Token: 0x06004554 RID: 17748 RVA: 0x000BDDB1 File Offset: 0x000BBFB1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GameplayCounterCountDownScRsp.Descriptor;
			}
		}

		// Token: 0x06004555 RID: 17749 RVA: 0x000BDDB8 File Offset: 0x000BBFB8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GameplayCounterCountDownScRsp()
		{
		}

		// Token: 0x06004556 RID: 17750 RVA: 0x000BDDC0 File Offset: 0x000BBFC0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GameplayCounterCountDownScRsp(GameplayCounterCountDownScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06004557 RID: 17751 RVA: 0x000BDDE5 File Offset: 0x000BBFE5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GameplayCounterCountDownScRsp Clone()
		{
			return new GameplayCounterCountDownScRsp(this);
		}

		// Token: 0x170013CF RID: 5071
		// (get) Token: 0x06004558 RID: 17752 RVA: 0x000BDDED File Offset: 0x000BBFED
		// (set) Token: 0x06004559 RID: 17753 RVA: 0x000BDDF5 File Offset: 0x000BBFF5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600455A RID: 17754 RVA: 0x000BDDFE File Offset: 0x000BBFFE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GameplayCounterCountDownScRsp);
		}

		// Token: 0x0600455B RID: 17755 RVA: 0x000BDE0C File Offset: 0x000BC00C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GameplayCounterCountDownScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600455C RID: 17756 RVA: 0x000BDE3C File Offset: 0x000BC03C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600455D RID: 17757 RVA: 0x000BDE7B File Offset: 0x000BC07B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600455E RID: 17758 RVA: 0x000BDE83 File Offset: 0x000BC083
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600455F RID: 17759 RVA: 0x000BDE8C File Offset: 0x000BC08C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06004560 RID: 17760 RVA: 0x000BDEC0 File Offset: 0x000BC0C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06004561 RID: 17761 RVA: 0x000BDEFE File Offset: 0x000BC0FE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GameplayCounterCountDownScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06004562 RID: 17762 RVA: 0x000BDF2F File Offset: 0x000BC12F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06004563 RID: 17763 RVA: 0x000BDF38 File Offset: 0x000BC138
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 48U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04001B57 RID: 6999
		private static readonly MessageParser<GameplayCounterCountDownScRsp> _parser = new MessageParser<GameplayCounterCountDownScRsp>(() => new GameplayCounterCountDownScRsp());

		// Token: 0x04001B58 RID: 7000
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001B59 RID: 7001
		public const int RetcodeFieldNumber = 6;

		// Token: 0x04001B5A RID: 7002
		private uint retcode_;
	}
}
